﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012ED RID: 4845
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncRogueCommonDialogueDataScNotify : IMessage<SyncRogueCommonDialogueDataScNotify>, IMessage, IEquatable<SyncRogueCommonDialogueDataScNotify>, IDeepCloneable<SyncRogueCommonDialogueDataScNotify>, IBufferMessage
	{
		// Token: 0x17003D2F RID: 15663
		// (get) Token: 0x0600D8F2 RID: 55538 RVA: 0x00245B0B File Offset: 0x00243D0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncRogueCommonDialogueDataScNotify> Parser
		{
			get
			{
				return SyncRogueCommonDialogueDataScNotify._parser;
			}
		}

		// Token: 0x17003D30 RID: 15664
		// (get) Token: 0x0600D8F3 RID: 55539 RVA: 0x00245B12 File Offset: 0x00243D12
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncRogueCommonDialogueDataScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003D31 RID: 15665
		// (get) Token: 0x0600D8F4 RID: 55540 RVA: 0x00245B24 File Offset: 0x00243D24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncRogueCommonDialogueDataScNotify.Descriptor;
			}
		}

		// Token: 0x0600D8F5 RID: 55541 RVA: 0x00245B2B File Offset: 0x00243D2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueCommonDialogueDataScNotify()
		{
		}

		// Token: 0x0600D8F6 RID: 55542 RVA: 0x00245B3E File Offset: 0x00243D3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueCommonDialogueDataScNotify(SyncRogueCommonDialogueDataScNotify other) : this()
		{
			this.dialogueDataList_ = other.dialogueDataList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D8F7 RID: 55543 RVA: 0x00245B68 File Offset: 0x00243D68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueCommonDialogueDataScNotify Clone()
		{
			return new SyncRogueCommonDialogueDataScNotify(this);
		}

		// Token: 0x17003D32 RID: 15666
		// (get) Token: 0x0600D8F8 RID: 55544 RVA: 0x00245B70 File Offset: 0x00243D70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueCommonDialogueDataInfo> DialogueDataList
		{
			get
			{
				return this.dialogueDataList_;
			}
		}

		// Token: 0x0600D8F9 RID: 55545 RVA: 0x00245B78 File Offset: 0x00243D78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncRogueCommonDialogueDataScNotify);
		}

		// Token: 0x0600D8FA RID: 55546 RVA: 0x00245B86 File Offset: 0x00243D86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncRogueCommonDialogueDataScNotify other)
		{
			return other != null && (other == this || (this.dialogueDataList_.Equals(other.dialogueDataList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D8FB RID: 55547 RVA: 0x00245BBC File Offset: 0x00243DBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.dialogueDataList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D8FC RID: 55548 RVA: 0x00245BF0 File Offset: 0x00243DF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D8FD RID: 55549 RVA: 0x00245BF8 File Offset: 0x00243DF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D8FE RID: 55550 RVA: 0x00245C01 File Offset: 0x00243E01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.dialogueDataList_.WriteTo(ref output, SyncRogueCommonDialogueDataScNotify._repeated_dialogueDataList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D8FF RID: 55551 RVA: 0x00245C28 File Offset: 0x00243E28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.dialogueDataList_.CalculateSize(SyncRogueCommonDialogueDataScNotify._repeated_dialogueDataList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D900 RID: 55552 RVA: 0x00245C61 File Offset: 0x00243E61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncRogueCommonDialogueDataScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.dialogueDataList_.Add(other.dialogueDataList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D901 RID: 55553 RVA: 0x00245C8F File Offset: 0x00243E8F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D902 RID: 55554 RVA: 0x00245C98 File Offset: 0x00243E98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 50U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.dialogueDataList_.AddEntriesFrom(ref input, SyncRogueCommonDialogueDataScNotify._repeated_dialogueDataList_codec);
				}
			}
		}

		// Token: 0x0400565C RID: 22108
		private static readonly MessageParser<SyncRogueCommonDialogueDataScNotify> _parser = new MessageParser<SyncRogueCommonDialogueDataScNotify>(() => new SyncRogueCommonDialogueDataScNotify());

		// Token: 0x0400565D RID: 22109
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400565E RID: 22110
		public const int DialogueDataListFieldNumber = 6;

		// Token: 0x0400565F RID: 22111
		private static readonly FieldCodec<RogueCommonDialogueDataInfo> _repeated_dialogueDataList_codec = FieldCodec.ForMessage<RogueCommonDialogueDataInfo>(50U, RogueCommonDialogueDataInfo.Parser);

		// Token: 0x04005660 RID: 22112
		private readonly RepeatedField<RogueCommonDialogueDataInfo> dialogueDataList_ = new RepeatedField<RogueCommonDialogueDataInfo>();
	}
}
